﻿<UserControl x:Class="Project.PrintDeclaration"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
              d:DesignHeight="1122" d:DesignWidth="793" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit">
    <UserControl.Resources>
        <DataTemplate x:Key="QuestionItemTemplate">
            <Border Width="678" Height="Auto" BorderBrush="Black" BorderThickness="0,0,0,1">
                <StackPanel Orientation="Horizontal">
                    <TextBlock Name="QuestionNum" Width="Auto" Margin="3,0,0,0" Text="{Binding Path=NumberOfQuestion, StringFormat='\{0}.-'}" />
                    <TextBlock Margin="3,0,0,0" Text="{Binding Question}" ToolTip="Pregunta"/>
                    <TextBlock Width="430" TextWrapping="Wrap" Margin="10,0,0,0" Text="{Binding Path=Answer, StringFormat='-> R: {0}' }"  ToolTip="Respuesta" />
                </StackPanel>
            </Border>
        </DataTemplate>
    </UserControl.Resources>
    <Grid Height="1122" Width="793" Background="White">
        <Label Content="DECLARACIONES" FontSize="30" FontWeight="Bold" Height="40" HorizontalAlignment="Left" Margin="270,58,0,0" Name="LblTitle" VerticalAlignment="Top" Width="291" />
        <Label Content="FORMULARIO No.2" FontSize="22" FontWeight="Bold" Height="26" HorizontalAlignment="Left" Margin="290,38,0,0" Name="LblSTitle" VerticalAlignment="Top" Width="205" />
        <Image Height="91" HorizontalAlignment="Left" Margin="60,24,0,0" Name="image1" Source="/Project;component/Images/pob.png" Stretch="Fill" VerticalAlignment="Top" Width="91" />
        <Image Height="99" HorizontalAlignment="Left" Margin="638,24,0,0" Name="image2" Source="/Project;component/Images/bpaf.png" Stretch="Fill" VerticalAlignment="Top" Width="91" />
        <Label Content="Numero de Caso:" FontSize="20" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="60,130,0,0" Name="label28" VerticalAlignment="Top" />
        <Label Content="" FontSize="32" FontWeight="Light" Height="45" HorizontalAlignment="Left" Margin="218,121,0,0" Name="lblCaseNumber" VerticalAlignment="Top" />
        <Label Content="Fecha de Registro:" FontSize="20" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="384,130,0,0" Name="label39" VerticalAlignment="Top" />
        <Label Content="11/11/2011" FontSize="18" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="550,133,0,0" Name="lblRegistrationDate" VerticalAlignment="Top" />
        <GroupBox Style="{StaticResource PrintableGroupBox}" Header="Datos Personales" Height="236" HorizontalAlignment="Left" Margin="60,189,0,0" Name="PersonInfo" VerticalAlignment="Top" Width="678">
            <Grid Name="PersonalInfo" Height="234" Width="678">
                <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="20,15,0,0" Name="lblName" VerticalAlignment="Top" />
                <Label Content="Apellido paterno:" Height="28" HorizontalAlignment="Left" Margin="20,49,0,0" Name="lblLastName" VerticalAlignment="Top" />
                <Label Content="Apellido materno:" Height="28" HorizontalAlignment="Left" Margin="20,83,0,0" Name="lblMiddleName" VerticalAlignment="Top" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="73,16,0,0" Name="tbActorName" VerticalAlignment="Top" Width="218" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="118,49,0,0" Name="tbActorLastName" VerticalAlignment="Top" Width="198" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="122,83,0,0" Name="tbActorMiddleName" VerticalAlignment="Top" Width="194" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="393,83,0,0" Name="tbActorZone" VerticalAlignment="Top" Width="192" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="413,16,0,0" Name="tbActorPhone" VerticalAlignment="Top" Width="136" />
                <Label Content="CI/Pasaporte:" Height="28" HorizontalAlignment="Left" Margin="20,117,0,0" Name="lblCI" VerticalAlignment="Top" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="97,117,0,0" Name="tbActorCI" VerticalAlignment="Top" Width="106" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="436,121,0,0" Name="cboxActorCountry" VerticalAlignment="Top" Width="162" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="456,153,0,0" Name="tbActorWorkPlace" VerticalAlignment="Top" Width="196" />
                <Label Content="Lugar de Trabajo:" Height="28" HorizontalAlignment="Left" Margin="360,153,0,0" Name="lblJob" VerticalAlignment="Top" Width="100" />
                <Label Content="Zona:" Height="28" HorizontalAlignment="Left" Margin="360,83,0,0" Name="lblZone" VerticalAlignment="Top" />
                <Label Content="Nacionalidad:" Height="28" HorizontalAlignment="Left" Margin="360,121,0,0" Name="lblCharacter" VerticalAlignment="Top" />
                <Label Content="Teléfono:" Height="28" HorizontalAlignment="Left" Margin="360,17,0,0" Name="lblPhone" VerticalAlignment="Top" />
                <Label Content="Estado Civil:" Height="28" HorizontalAlignment="Left" Margin="360,51,0,0" Name="label35" VerticalAlignment="Top" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="428,52,0,0" Name="cbActorCivilStatus" VerticalAlignment="Top" Width="162" />
                <Label FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="79,150,0,0" Name="tbActorAddress" VerticalAlignment="Top" Width="237" />
                <Label Content="Direccion: " Height="28" HorizontalAlignment="Left" Margin="20,150,0,0" Name="label3" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
        <Border BorderBrush="#5C5C5C" BorderThickness="2,4,2,4" Height="103" HorizontalAlignment="Left" Margin="60,448,0,0" Name="bord" VerticalAlignment="Top" Width="678">
            <Grid>
                <TextBlock Height="20" HorizontalAlignment="Left" Margin="20,10,0,0" Name="textBlock1" Text="La persona con las generales de ley arriba registradas, a horas:" VerticalAlignment="Top" Width="336" />
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="416,10,0,0" Name="textBlock2" Text="Del dia de hoy: " VerticalAlignment="Top" />
                <Label Content="Label" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="498,10,0,0" Name="lblTodayDate" VerticalAlignment="Top" />
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="20,28,0,0" Name="textBlock3" Text="Se presentó en las oficinas de la brigada de protección a la familia, para prestar su declaración informativa policial" VerticalAlignment="Top" />
                <Label Content="Label" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="115,47,0,0" Name="lblCaseNum" VerticalAlignment="Top" />
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="158,47,0,0" Name="textBlock4" Text="De violencia familiar en contra de:" VerticalAlignment="Top" />
                <Label Content="Label" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="343,47,0,0" Name="lblAggressor" VerticalAlignment="Top" />
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="20,67,0,0" Name="textBlock5" Text="Exortada(o) a  decir la verdad de los hechos manifiesto lo siguiente." VerticalAlignment="Top" />
                <Label Content="Label" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="355,10,0,0" Name="lblCurrentTime" VerticalAlignment="Top" />
                <Label Content="sobre el caso N°:" Height="28" HorizontalAlignment="Left" Margin="20,47,0,0" Name="label1" VerticalAlignment="Top" />
            </Grid>
        </Border>
        <Label Content="Asignada al caso:" Height="28" FontSize="16" HorizontalAlignment="Left" Margin="60,161,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Label" Height="28" FontSize="12" FontWeight="Bold" HorizontalAlignment="Left" Margin="184,165,0,0" Name="lblAsigned" VerticalAlignment="Top" />
        <ListBox Height="416" HorizontalAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ItemTemplate="{StaticResource QuestionItemTemplate}" ItemsSource="{Binding}" Margin="60,586,0,0" Name="listBoxQuestions" VerticalAlignment="Top" Width="678" />
        <Label Content="Preguntas Y Respuestas:" FontSize="16" Height="20"  HorizontalAlignment="Left" Margin="60,564,0,0" Name="lblQuestionsTitle" VerticalAlignment="Top" />
        <Label Content="---------------------------------------------" Height="28" HorizontalAlignment="Left" Margin="60,1049,0,0" Name="LblPSignature" VerticalAlignment="Top" />
        <Label Content="FIRMA DEL DECLARANTE" Height="28" HorizontalAlignment="Left" Margin="94,1064,0,0" Name="LblNamePSignature" VerticalAlignment="Top" />
        <Label Content="---------------------------------------------" Height="28" HorizontalAlignment="Left" Margin="520,1049,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Content="FIRMA DEL SUMARIANTE" Height="28" HorizontalAlignment="Left" Margin="559,1064,0,0" Name="label5" VerticalAlignment="Top" />
    </Grid>
</UserControl>
